package com.vancouver.knows.business.tracker;

import com.pangu.task.IResultReceiver;
import com.pangu.task.OperateResult;
import com.vancouver.knows.business.BusinessModule;
import com.vancouver.knows.business.bean.UserRegisterInfo;
/**
 * 获取用户注册列表
 *
 * @author llf
 *
 */
public class UserRegisterTracker extends ABInvokeTracker{

	
	public UserRegisterTracker(BusinessModule module, IResultReceiver resultReceiver) {
		super(module, resultReceiver);		
	}

	@Override
	public String TAG() {
		// TODO Auto-generated method stub
		return UserRegisterTracker.class.getSimpleName();
	}

	@Override
	public void handleResult(OperateResult result) {
		// TODO Auto-generated method stub
		UserRegisterInfo userRegisterInfo = (UserRegisterInfo)result.getResultData();
		if(userRegisterInfo == null) return;
		module.getCacheManager().setUserRegisterInfo(userRegisterInfo);
	}

}
